package com.wmh.baseservice.merchant.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wmh.baseservice.common.mybatisplus.methods.CommonServiceImpl;
import com.wmh.baseservice.merchant.mapper.MerchantGroupGoodsPriceMapper;
import com.wmh.baseservice.merchant.pojo.MerchantGroupGoods;
import com.wmh.baseservice.merchant.pojo.MerchantGroupGoodsPrice;
import com.wmh.baseservice.merchant.service.MerchantGroupGoodsPriceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @author wmh generator
 * @since 2022-03-03
 */
@Service
public class MerchantGroupGoodsPriceServiceImpl extends CommonServiceImpl<MerchantGroupGoodsPriceMapper, MerchantGroupGoodsPrice> implements MerchantGroupGoodsPriceService {

    @Resource
    private MerchantGroupGoodsPriceMapper merchantGroupGoodsPriceMapper;
    /**
     * 团购商品列表（用户端）
     */
    @Override
    public IPage<MerchantGroupGoods> usList(Page<MerchantGroupGoods> merchantGroupGoodsPage, Map<String, Object> map) {
        return merchantGroupGoodsPriceMapper.usList(merchantGroupGoodsPage,map);
    }
}
